import React from 'react';
import { Tabs, Card, Descriptions, Carousel, Image } from 'antd';
import ReactJson from 'react-json-view';
import Login from './login';

const { TabPane } = Tabs;
// 登录信息
const userInfo = {
  code: '0',
  message: 'Success',
  resId: '1',
  token:
    '216001:1671335973:54d5def8-5366-41a4-958e-b051d5a965c0:f9581460fe60319dc74acc944ea31fe4:3v',
  deviceGuid:
    'MjE2MDAxfGZmZmZmZmZmLTk5YzQtYjM5My0wMDAwLTAwMDAxOTFjZGRhYy1jb20ubGluZ3NoaS5pbnN0LmtpZHM=',
  registerType: 'mobile',
  user: {
    userId: '216001',
    serverId: '3',
    nickname: 'somnus黄',
    username: '13879457149',
    nicknameNote: 'Jessica彭',
    photourl:
      'http://res.iiiview.net/photo/20190919/216001/6a5b471e-6106-47b3-a354-fe9d6a9629d4.jpg',
    instId: '20229',
    role: 'groupTeacher',
    mobile: '13879457149',
    txImUserId: '3_216001',
    gender: '1',
    lastAccessTime: '0',
    hxUsername: 't_216001',
    isvalidate: 'true',
    activeDate: '2019-03-14 15:06:01',
    instTitle: '蓝蜗牛英语',
    awarded: '0',
    wxTdc: '',
    wxTdcGroup: '',
    wyAccid: 't_216001',
    instCode: 'lwnyy',
    roleId: '0',
    age: '0',
    expiredStatus: '0',
    campusId: '235',
    campusTitle: '蓝蜗牛英语',
    campusShortTitle: '',
    campusType: 'main_campus',
    inInstCreateDate: '2019-03-14 14:49:22',
    needChangePassword: 'false',
    isShadowUser: '0',
    userType: '0',
    studentOrigin: '0',
    flower: '0',
    hasForeignTeacher: 'false',
    hasAvailableTime: 'false',
  },
  tokenType: 'normal',
  campus: {
    campusId: '235',
    campusTitle: '蓝蜗牛英语',
    campusShortTitle: '',
    campusType: 'main_campus',
  },
};

// 机构信息
const institution = {
  code: '0',
  message: 'Success',
  institution: {
    id: '20229',
    code: 'lwnyy',
    title: '蓝蜗牛英语',
    company: '蓝蜗牛英语 - 深圳市宝安区西乡大道宝和苑2楼',
    shortTitle: '蓝蜗牛英语',
    desc: '蓝蜗牛英语致力成为3—12岁儿童英语原版分级阅读的摆渡人。',
    logoUrl: 'http://ts.51tyty.com/file/inst/9f86e9e7a2e544bd943f35aaa454df36/logo.png',
    homeUrl: 'https://tyty.iiiview.net/tmsites/index.php/sitecode/lwnyy',
    adImgUrl: 'http://ts.51tyty.com/file/inst/9f86e9e7a2e544bd943f35aaa454df36/ad_img.png',
    adUrl: 'https://tyty.iiiview.net/tmsites/index.php/enrollcode/lwnyy',
    parentId: '0',
    groupId: '66546',
    bgImgUrl: 'http://res.iiiview.net/ugc/file/2018/2/21/f7c82cde741941d48f290a5251dff466.jpg',
    bgImgUrl43: 'http://res.iiiview.net/ugc/file/2018/2/21/f199791001ec40c688823ebd728a51d1.jpg',
    bgImgUrl21: '',
    subjectModel: 'language',
    subject: 'english',
    course: '0',
    uuid: '9f86e9e7a2e544bd943f35aaa454df36',
    hasApp: 'true',
    chatType: '-1',
    hasTrial: 'false',
    hasApply: 'true',
    hasUseTytyLive: 'false',
    trialOnShare: 'false',
    hasRegCode: 'false',
    isTytyPayment: 'false',
    isInstPayment: 'false',
    tytyPaymentAdUrl: '',
    hasSmallProgram: 'false',
    hasTytyUnion: 'true',
    smallProgramQRcodeUrl: '',
    showTeacherComment: 'true',
    officialAccounts: '',
    hasAppStoreApp: 'false',
    disableInstApp: 'false',
    iosAppstoreVersion: '',
    iosAppstoreVersionDesc: '',
    iosAppstoreDownloadUrl: '',
    hasOnlineUsers: 'false',
    appVersionIos: '5.0.0',
    appVersionIosDesc: '解决已知问题、优化使用体验；安装完成请将老的APP删除使用新的即可',
    appVersionAndroid: '',
    appVersionAndroidDesc:
      '1.新增闯关背单词 2.创作课件支持布置作业 3.老师语音点评作业时可同步进行涂写标注 4.原“系列练习”升级为“打卡练',
    appVersionPc: '',
    appVersionPcDesc: '',
    showBookAge: 'true',
    iosLivingVersion: '',
    hasStore: 'true',
    rateStar: '100',
    rateFlower: '50',
    rateThumb: '5',
    hasShareQq: 'false',
    hasFlower: 'true',
    hasShareFlower: 'true',
    hasFriend: 'true',
    hasPageAudio: 'true',
    hasAndroidCorp: 'true',
    appleStoreInsideRealVersion: '',
    assessType: '0',
    hasHiddenBill: 'false',
    standByEnglish: 'false',
    showLessonCount: 'true',
    showPublicLibrary: 'true',
    hasPointRead: 'true',
    canLive: 'true',
    themeColor: 'color1',
    liveStudentUpperLimit: '50',
    hasExam: 'true',
    hasDubbing: 'false',
    hasUgc: 'true',
    hasPublicTextbooks: 'true',
    hasExaminationPaper: 'true',
    useIndefiniteByRegCode: 'true',
    wxInFirstPage: 'true',
    showStudentTel: 'true',
    showTodayCourse: 'true',
    useNewHomepage: 'true',
    wechatProgTitle: '智能家校',
    wechatProgUrl: 'https://wechat.51tyty.com/api/wechat/qrcode/jzt?sid=3&icode=lwnyy',
    wxAppId: 'wxc4a2305c6dbc7a2c',
    appVersionPcLive: '2.4.12.8417',
    appVersionPcLiveDesc: '1. 修复卡顿问题 2. 修复苹果Mac电脑闪退的问题 3. 修复摄像头不清晰的问题',
    hasLevelTest: 'true',
    canTextbooksManagement: 'true',
    canTeacherArrangeCourse: 'true',
    hasAssignmentAndCourseV2: 'true',
    supportRememberWord: 'true',
    supportRaz: 'true',
    language: '0',
    hasIosWebApp: 'true',
    appVersionIosWebApp: '',
    appVersionIosWebAppDownloadUrl:
      'http://res.iiiview.net/tytydown/iosweb/30761/lwnyy30761.mobileconfig',
    appVersionIosWebAppDesc: '',
    useApplet: 'false',
    showEvaluate: 'true',
    showMoreWorks: 'true',
    showAi: 'true',
    showPortionCampusInfo: 'true',
    showMobile: 'true',
    canGetGroupEducator: 'true',
    showDistribution: 'true',
    hasPaidBook: 'true',
    showNationalGeographic: 'true',
    hasProhibitLive: 'false',
    macDownloadUrl: 'http://res.iiiview.net/tytydown/mac/174887/lwnyy174887.dmg',
    macAppVersion: '',
    macAppVersionDesc: '',
    umengIosAppKey: '5cc555f73fc1951392000139',
    umengIosAppMasterSecret: 'rvioftxqwlsjelhe85vkb1jvsstouhqz',
    iosProductionMode: 'true',
    umengAndroidAppKey: '5618894067e58e6bbd00133f',
    umengAndroidAppMasterSecret: '2nkassyxkhdotf379qvptzksmmwocres',
    androidProductionMode: 'true',
    iosLicId: '417',
    shortUrl: '51tyty.cn/NFRJ7n',
    smsTitle: '蓝蜗牛英语',
    appDownloadUrlIos: 'http://app.51tyty.com/ts/index.do?c=lwnyy',
    appDownloadUrlAndroid: 'http://res.iiiview.net/tytydown/android/140426/lwnyy140426.apk',
    appDownloadUrlPc: 'http://res.iiiview.net/tytydown/pc/2/0/lwnyy_v2.zip',
    appDownloadUrlPcLive: 'http://res.iiiview.net/tytydown/pclive/140154/lwnyy140154.exe',
    isContract: 'true',
    paymentType: 'inst_pay',
    annualFeeStartDate: '',
    annualFeeEndDate: '',
    annualFeePayDate: '',
    startPayDate: '2018-04-11',
    unpayDuration: '0',
    disableInKlxt: 'true',
    mobile: '15012885416',
    smsMobile: '13922967242',
    contractor: 'Linda',
    email: '138050416@qq.com',
    username: 'adminlwnyy',
    userId: '118983',
    ssAdUrl: '',
    paused: 'false',
    deleted: 'false',
    appLogoUrl: 'http://ts.51tyty.com/file/inst/9f86e9e7a2e544bd943f35aaa454df36/appLogo.png',
    hasLogoChange: 'true',
    serverId: '3',
    courseType: '-1',
    lans: ['ch'],
    hasMaintenanceFees: 'false',
    maintenanceFeeInYearly: '0.00',
    instMomentCoverUrl:
      'http://res.iiiview.net/photo/20190418/118983/324da6ae-5384-4247-af05-4bf59be5e11c.jpg',
    qrCode: 'http://ts.51tyty.com/file//inst/9f86e9e7a2e544bd943f35aaa454df36/b.png',
    canLevelTest: 'true',
    adQrCodeUrl: 'https://tyty.iiiview.net/file/adUrlQC/3_9f86e9e7a2e544bd943f35aaa454df36.png',
    wcProgAddQrCodeUrl:
      'https://lstyty.oss-cn-hangzhou.aliyuncs.com/wechat/qrcode/495997f2c7b938c2.jpeg',
    appDownloadUrlIosWebApp: 'http://res.iiiview.net/tytydown/iosweb/30761/lwnyy30761.mobileconfig',
    appDownloadUrlIosWebAppNew:
      'http://res.iiiview.net/tytydown/iosweb/30761/ios13/lwnyy30761.mobileconfig',
    campusCount: '1',
    instOpenTime: '2017-11-17 11:33:25',
    datecreated: '2017-11-17 11:33:25',
    datemodified: '2020-12-22 06:18:13',
    instExtendConfig: {
      homeworkPush: 'true',
      universalLink: '',
      hasChampion: 'true',
      hasMathematical: 'true',
      iosWebAppJichuVersionDesc: '',
      courseExpendPush: 'true',
      classPush: 'true',
      courseWarnHalfHour: 'true',
      hasSmartClassroom: 'true',
      hasGeographicLecture: 'true',
      courseWarnPreviousDay: 'true',
      iosWebAppJichuVersion: '',
      homeworkRedoPush: 'true',
      whetherUseSimpleClear: 'false',
      specificDevelop: 'true',
      showInstLogo: 'true',
      schoolPush: 'true',
      hasChinese: 'true',
      homeworkRemarkPush: 'true',
      hasHaiMaClass: 'true',
      hasShareBooks: 'true',
      optimizedShoppingMall: 'true',
      hasMentalarithmetic: 'false',
      hasEnglish: 'false',
      standByJapanese: 'false',
      hasHulala: 'true',
      purchaseLiveCombo: 'true',
    },
    hasDubbingCategory: 'true',
    operationSchemeUrl: 's2.51tyty.com',
  },
  webPopupMessage:
    '如何修改手机官网内容，请以超级管理员（adminXXX）账号使用电脑访问http://school.51tyty.com，进入网页后选择手机网站模块进行修改。',
  deleted: 'false',
};

// 启动信息
const Startup = {
  code: '0',
  message: 'Success',
  baseUrls: [
    {
      key: 'MediaServiceBaseUrl',
      value: 'https://ts.51tyty.com/media/services/rest',
    },
    {
      key: 'MessageServiceBaseUrl',
      value: 'https://ts.51tyty.com/message/services/rest',
    },
    {
      key: 'UserServiceBaseUrl',
      value: 'https://ts.51tyty.com/user/services/rest',
    },
    {
      key: 'SocialServiceBaseUrl',
      value: 'https://ts.51tyty.com/social/services/rest',
    },
    {
      key: 'TranscodeServiceBaseUrl',
      value: 'https://ts.51tyty.com/transcode/services/rest',
    },
    {
      key: 'UploadMediaUrl',
      value: 'https://ts.51tyty.com/storage/FileUpload',
    },
    {
      key: 'StorageServerUrl',
      value: 'https://ts.51tyty.com/storage',
    },
    {
      key: 'UserPhotoUploadUrl',
      value: 'https://ts.51tyty.com/storage/UserPhotoUpload',
    },
    {
      key: 'GroupPhotoUplaodUrl',
      value: 'https://ts.51tyty.com/storage/GroupPhotoUpload',
    },
    {
      key: 'MediaShareServerUrl',
      value: '',
    },
    {
      key: 'CommunityServiceBaseUrl',
      value: 'https://bw.51tyty.com/community/services/rest',
    },
    {
      key: 'MomentDetailUrl',
      value: 'https://tyty.iiiview.net/tmsites/index.php?g=dcp&m=share&a=dynamicDetails',
    },
    {
      key: 'MallServiceBaseUrl',
      value: 'https://ws.iiiview.net/mall/services/rest',
    },
    {
      key: 'TeacherTrainBaseUrl',
      value: 'https://rs.51tyty.com',
    },
    {
      key: 'AI_Match_Socket_Connect',
      value: 'talk.51tyty.com',
    },
    {
      key: 'AI_Match_Socket_Port',
      value: '19830',
    },
    {
      key: 'AiServiceBaseUrl',
      value: 'https://talk.51tyty.com/ai/services/rest',
    },
    {
      key: 'OssBaseUrl',
      value: 'https://school.51tyty.com/index.php?g=mobile&m=index&a=index',
    },
    {
      key: 'AppPagesBaseUrl',
      value: 'https://pages.51tyty.com/apppages/services/rest',
    },
    {
      key: 'StoreServiceUrl',
      value: 'https://mall.51tyty.com/login.jsp',
    },
    {
      key: 'DictionaryServiceBaseUrl',
      value: 'https://cf.51tyty.com/dictionary/services/rest',
    },
    {
      key: 'CampusServiceUrl',
      value: 'https://campus.51tyty.com/campus/services/rest',
    },
    {
      key: 'ConversionServiceBaseUrl',
      value: 'https://cf.51tyty.com/conversion/services/rest',
    },
    {
      key: 'OssBaseDomain',
      value: 'https://school.51tyty.com',
    },
    {
      key: 'RecommendServiceBaseUrl',
      value: 'https://rec.51tyty.com/recommend/services/rest',
    },
    {
      key: 'OssWebBaseUrl',
      value: ' http://moss.51tyty.com/dist/index.html',
    },
    {
      key: 'OssWebDomain',
      value: ' http://moss.51tyty.com/',
    },
    {
      key: 'EvaluationServiceBaseUrl',
      value: 'https://cf.51tyty.com/evaluation/services/rest',
    },
    {
      key: 'MediaWebServerUrl',
      value: 'https://tyty.iiiview.net/ts/media',
    },
    {
      key: 'AOKS',
      value: 'LTFRBSWdtWULRTekNrdHRvLeSZmSjA1UWL92NWR0cW5aLNU5YTzNzNmLlqUk9RYnh0LWlI%3DS',
    },
    {
      key: 'WYKS',
      value: 'LMDMxMDRhOGLY1MmQzZDVjLOWFlM2Y2ODLQzMGNkOGU5LN2YmODQ4YzLU4MTMwNTBkLS',
    },
    {
      key: 'TXKS',
      value: 'LMTQwMDA5MTLQ0MyYyNjU0LNA%3D%3DS',
    },
    {
      key: 'TXRTKS',
      value: 'LMTQwMDA5MTLQ0MyYyNjU0LNA%3D%3DS',
    },
    {
      key: 'TXTRTCKS',
      value: 'LMTQwMDA5MTLQ0MyYyNjU0LNCYxMjUxMDLAyMTY0JjQwLNzA%3DS',
    },
    {
      key: 'RAZKS',
      value: 'Lc2RrNzcwMjLI5MTExNjM5LJjc3ODcwYjLE3YTQ3ZjAyLYjlmMzVhMWLVhZGRhYWIyLNjg5S',
    },
    {
      key: 'AppDownloadPageUrl',
      value: 'https://app.51tyty.com/ts/',
    },
    {
      key: 'AppDownloadOverseasBaseUrl',
      value: '',
    },
    {
      key: 'AboutUs',
      value: '',
    },
    {
      key: 'LoginServiceBaseUrl',
      value: 'https://ts.51tyty.com/user/services/rest',
    },
    {
      key: 'KDXF',
      value: 'LNTk1MzIzM2LM%3DS',
    },
  ],
  appVersion: '4.3.2.0',
  appVersionDesc:
    '1.新增支持在移动端打开‘智慧课堂’的上课页面\n2.新增排课时可选择‘智慧课堂’全套课程的部分课节进行排课\n3. 修复磨耳朵时间记录错误的bug',
  appVersionOption: '4.3.2.0',
  appVersionOptionDesc:
    '1.新增支持在移动端打开‘智慧课堂’的上课页面\n2.新增排课时可选择‘智慧课堂’全套课程的部分课节进行排课\n3. 修复磨耳朵时间记录错误的bug',
  downloadUrl: 'http://res.iiiview.net/tytydown/android/140426/lwnyy140426.apk',
  enableGotoSchool: '0',
  liveTaskMaxUserId: '250000',
  isLiving: '0',
  assessType: '0',
  serverId: '3',
  iosPadRecord: 'true',
  iosPhoneRecord: 'false',
  subjectModel: 'language',
  subject: 'english',
  useNewHomepage: 'true',
  timeZone: 'GMT+0800',
  logConfig: {
    logAccessEndpoint: 'cn-hangzhou.log.aliyuncs.com',
    logProjectName: 'tyty',
    laks: 'LTFRBSXk5VGLdZb2U3N2lSLWCZYbGdqOELRsdXFNMFFtLSEhDeUZ0aXLZRa01zR3F0LQUI%3DS',
  },
  cdnUrls: [
    {
      cdnName: 'RES',
      ossOriginalUrl: 'https://lstyty.oss-cn-hangzhou.aliyuncs.com',
      domain: 'http://res.iiiview.net',
      bucketName: 'lstyty',
      cdn: 'htt 352 p://cdnws.51tyty.com',
    },
    {
      cdnName: 'BJ',
      ossOriginalUrl: 'https://bjtyty.oss-cn-beijing.aliyuncs.com',
      domain: 'http://bj.51tyty.com',
      bucketName: 'bjtyty',
      cdn: 'http://bjres.51tyty.com',
    },
  ],
  dlUrls: [
    {
      cdnName: 'RES',
      ossOriginalUrl: 'https://lstyty.oss-cn-hangzhou.aliyuncs.com',
      domain: 'http://res.iiiview.net',
      cdn: 'http://cdnws.51tyty.com',
    },
    {
      cdnName: 'BJ',
      ossOriginalUrl: 'https://bjtyty.oss-cn-beijing.aliyuncs.com',
      domain: 'http://bj.51tyty.com',
      cdn: 'http://bjres.51tyty.com',
    },
    {
      cdnName: 'GS',
      ossOriginalUrl: 'https://gtyty.oss-cn-hangzhou.aliyuncs.com',
      domain: 'http://gcs.51tyty.com',
      cdn: 'http://dnsgs.51tyty.com',
    },
  ],
  language: 'ch',
  txCosks:
    'LQUtJRFFndHLFmTjhPcUVXLamxmbjRpRFLloamZpd0dVLYVZ1bENTJkLdKSkFxc21aLQkVDMGhFYXLJ4dGhEZXY0LODc3eGI0UWLFkS',
  txTickey: 'LWTNlY3BqRDLNhSmU5bHpRLbWdEYmVqcXLZvbnEzVjh0LazU%3DS',
  courseTypes: '1',
};

// 我的资料
const MyProfile = {
  code: '0',
  message: 'Success',
  userProfile: {
    userId: '216001',
    gender: '1',
    mobile: '13879457149',
    nickname: 'somnus黄',
    needUpdatepwd: 'false',
    needChangepwd: 'false',
    promptMessage: '为了您的账号安全，请点击首页左下角头像，修改密码',
    photourl:
      'http://res.iiiview.net/photo/20190919/216001/6a5b471e-6106-47b3-a354-fe9d6a9629d4.jpg',
    username: '13879457149',
    registerType: 'mobile',
    hxUsername: 't_216001',
    hasUsername: 'true',
    hasQQ: 'false',
    hasWeixin: 'false',
    isvalidate: 'true',
    activeDate: '2019-03-14 15:06:01',
    hasPassword: 'true',
    instId: '20229',
    role: 'groupTeacher',
    instGroupId: '66546',
    wxTdc: '',
    wxTdcGroup: '',
    wyAccid: 't_216001',
    receiveName: 'somnus黄',
    receiveMobile: '13879457149',
    txImUserId: '3_216001',
    usersig:
      'eJxlkF1PgzAUhu-5FYTbGWmBNtTEq4UoMBLZpmRXDZZSTxZLhe6DGP*7k5lI4vXznPOe8346rut629XmthaiO2jL7Wik5965HvJu-qAx0PDa8rBv-kF5NtBLXrdW9hPEhJAAobkDjdQWWvg1Qh5gihCeGUOz51PMdUV0mWc4isK5AmqCRfK8TMslyfoFY2B2mhZyhTrbaumXxh4T-3EDEcDos7XS8cOrSpVYxE19ApXTt3wo04xuq3w-7qqn*CDWHVLDx0tSJWdRZKf7WaSF92sbl3MJpQwxNqNH2Q-Q6UkIECY4QAz9PO58Od9cqF1b',
    sigDate: '2020-11-18',
    hasTimeTable: 'true',
    campusId: '235',
    campusTitle: '蓝蜗牛英语',
    campusShortTitle: '',
    campusType: 'main_campus',
  },
  adInst: {
    id: '20229',
    code: 'lwnyy',
    title: '蓝蜗牛英语',
    company: '蓝蜗牛英语 - 深圳市宝安区西乡大道宝和苑2楼',
    shortTitle: '蓝蜗牛英语',
    desc: '蓝蜗牛英语致力成为3—12岁儿童英语原版分级阅读的摆渡人。',
    logoUrl: 'http://ts.51tyty.com/file/inst/9f86e9e7a2e544bd943f35aaa454df36/logo.png',
    homeUrl: 'https://tyty.iiiview.net/tmsites/index.php/sitecode/lwnyy',
    adImgUrl: 'http://ts.51tyty.com/file/inst/9f86e9e7a2e544bd943f35aaa454df36/ad_img.png',
    adUrl: 'https://tyty.iiiview.net/tmsites/index.php/enrollcode/lwnyy',
    parentId: '0',
    groupId: '66546',
    bgImgUrl: 'http://res.iiiview.net/ugc/file/2018/2/21/f7c82cde741941d48f290a5251dff466.jpg',
    bgImgUrl43: 'http://res.iiiview.net/ugc/file/2018/2/21/f199791001ec40c688823ebd728a51d1.jpg',
    bgImgUrl21: '',
    subjectModel: 'language',
    subject: 'english',
    course: '0',
    uuid: '9f86e9e7a2e544bd943f35aaa454df36',
    hasApp: 'true',
    chatType: '-1',
    hasTrial: 'false',
    hasApply: 'true',
    hasUseTytyLive: 'false',
    trialOnShare: 'false',
    hasRegCode: 'false',
    isTytyPayment: 'false',
    isInstPayment: 'false',
    tytyPaymentAdUrl: '',
    hasSmallProgram: 'false',
    hasTytyUnion: 'true',
    smallProgramQRcodeUrl: '',
    showTeacherComment: 'true',
    officialAccounts: '',
    hasAppStoreApp: 'false',
    disableInstApp: 'false',
    iosAppstoreVersion: '',
    iosAppstoreVersionDesc: '',
    iosAppstoreDownloadUrl: '',
    hasOnlineUsers: 'false',
    appVersionIos: '5.0.0',
    appVersionIosDesc: '解决已知问题、优化使用体验；安装完成请将老的APP删除使用新的即可',
    appVersionAndroid: '',
    appVersionAndroidDesc:
      '1.新增闯关背单词 2.创作课件支持布置作业 3.老师语音点评作业时可同步进行涂写标注 4.原“系列练习”升级为“打卡练',
    appVersionPc: '',
    appVersionPcDesc: '',
    showBookAge: 'true',
    iosLivingVersion: '',
    hasStore: 'true',
    rateStar: '100',
    rateFlower: '50',
    rateThumb: '5',
    hasShareQq: 'false',
    hasFlower: 'true',
    hasShareFlower: 'true',
    hasFriend: 'true',
    hasPageAudio: 'true',
    hasAndroidCorp: 'true',
    appleStoreInsideRealVersion: '',
    assessType: '0',
    hasHiddenBill: 'false',
    standByEnglish: 'false',
    showLessonCount: 'false',
    showPublicLibrary: 'true',
    hasPointRead: 'true',
    canLive: 'true',
    themeColor: 'color1',
    liveStudentUpperLimit: '50',
    hasExam: 'true',
    hasDubbing: 'false',
    hasUgc: 'true',
    hasPublicTextbooks: 'true',
    hasExaminationPaper: 'true',
    useIndefiniteByRegCode: 'true',
    wxInFirstPage: 'true',
    showStudentTel: 'true',
    showTodayCourse: 'true',
    useNewHomepage: 'true',
    wechatProgTitle: '智能家校',
    wechatProgUrl: 'https://wechat.51tyty.com/api/wechat/qrcode/jzt?sid=3&icode=lwnyy',
    wxAppId: 'wxc4a2305c6dbc7a2c',
    appVersionPcLive: '2.4.12.8417',
    appVersionPcLiveDesc: '1. 修复卡顿问题 2. 修复苹果Mac电脑闪退的问题 3. 修复摄像头不清晰的问题',
    hasLevelTest: 'true',
    canTextbooksManagement: 'false',
    canTeacherArrangeCourse: 'true',
    hasAssignmentAndCourseV2: 'false',
    supportRememberWord: 'true',
    supportRaz: 'true',
    language: '0',
    hasIosWebApp: 'true',
    appVersionIosWebApp: '',
    appVersionIosWebAppDownloadUrl:
      'http://res.iiiview.net/tytydown/iosweb/30761/lwnyy30761.mobileconfig',
    appVersionIosWebAppDesc: '',
    useApplet: 'false',
    showEvaluate: 'true',
    showMoreWorks: 'true',
    showAi: 'true',
    showPortionCampusInfo: 'true',
    showMobile: 'true',
    canGetGroupEducator: 'false',
    showDistribution: 'true',
    hasPaidBook: 'true',
    showNationalGeographic: 'true',
    hasProhibitLive: 'false',
    macDownloadUrl: 'http://res.iiiview.net/tytydown/mac/174887/lwnyy174887.dmg',
    macAppVersion: '',
    macAppVersionDesc: '',
    umengIosAppKey: '5cc555f73fc1951392000139',
    umengIosAppMasterSecret: 'rvioftxqwlsjelhe85vkb1jvsstouhqz',
    iosProductionMode: 'true',
    umengAndroidAppKey: '5618894067e58e6bbd00133f',
    umengAndroidAppMasterSecret: '2nkassyxkhdotf379qvptzksmmwocres',
    androidProductionMode: 'true',
    iosLicId: '417',
    shortUrl: '51tyty.cn/NFRJ7n',
    smsTitle: '蓝蜗牛英语',
    appDownloadUrlIos: 'http://app.51tyty.com/ts/index.do?c=lwnyy',
    appDownloadUrlAndroid: 'http://res.iiiview.net/tytydown/android/140426/lwnyy140426.apk',
    appDownloadUrlPc: 'http://res.iiiview.net/tytydown/pc/2/0/lwnyy_v2.zip',
    appDownloadUrlPcLive: 'http://res.iiiview.net/tytydown/pclive/140154/lwnyy140154.exe',
    isContract: 'true',
    paymentType: 'inst_pay',
    annualFeeStartDate: '',
    annualFeeEndDate: '',
    annualFeePayDate: '',
    startPayDate: '2018-04-11',
    unpayDuration: '0',
    disableInKlxt: 'true',
    mobile: '15012885416',
    smsMobile: '13922967242',
    contractor: 'Linda',
    email: '138050416@qq.com',
    ssAdUrl: '',
    paused: 'false',
    deleted: 'false',
    appLogoUrl: 'http://ts.51tyty.com/file/inst/9f86e9e7a2e544bd943f35aaa454df36/appLogo.png',
    hasLogoChange: 'true',
    serverId: '3',
    domain: 'ts.51tyty.com',
    courseType: '-1',
    hasMaintenanceFees: 'false',
    maintenanceFeeInYearly: '0.00',
    adQrCodeUrl: 'https://tyty.iiiview.net/file/adUrlQC/3_9f86e9e7a2e544bd943f35aaa454df36.png',
    wcProgAddQrCodeUrl:
      'https://lstyty.oss-cn-hangzhou.aliyuncs.com/wechat/qrcode/495997f2c7b938c2.jpeg',
    appDownloadUrlIosWebApp: 'http://res.iiiview.net/tytydown/iosweb/30761/lwnyy30761.mobileconfig',
    appDownloadUrlIosWebAppNew:
      'http://res.iiiview.net/tytydown/iosweb/30761/ios13/lwnyy30761.mobileconfig',
    campusCount: '0',
    instOpenTime: '2017-11-17 11:33:25',
    datecreated: '2017-11-17 11:33:25',
    datemodified: '2020-12-19 06:17:44',
    instExtendConfig: {
      optimizedShoppingMall: 'true',
      hasGeographicLecture: 'true',
      universalLink: '',
      specificDevelop: 'true',
      hasChampion: 'true',
      hasHulala: 'true',
      purchaseLiveCombo: 'true',
      hasShareBooks: 'true',
    },
  },
  schoolsAndCourses: [],
};

// 使用帮助
const helps = {
  code: '0',
  message: 'Success',
  lessons: [
    {
      lessonId: '2665733',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '1',
      title: '适用于哪些设备',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/3/11/6f46a2bfe7cd4be58218f155c671fde7.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/3/11/5bc82cc164cc46068365c69ea882e48f.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/cd633ceb96ab4761b50ff521eabad784.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/050a8bf6a89b4ffa8c9711ea52a33658.PNG',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: '9z5cu17ohggzuhiw9lqmc3v9xctft2gr',
      srcCode: '9z5cu17ohggzuhiw9lqmc3v9xctft2gr',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665733',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
    {
      lessonId: '2665735',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '2',
      title: '如何安装',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/3/11/a74c768390404203877f11d4651a8a0d.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/6/19/66aec2056dbd4718870250b8d9b65e5f.PNG',
        'http://res.iiiview.net/ugc/file/2020/6/19/f40b5b15c059486486c10ef222e415b1.PNG',
        'http://res.iiiview.net/ugc/file/2020/6/19/8f5f730ff7d14bda944ddd3321e7aadc.PNG',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: 'i1o35j4ec8ateckptjvayeay9r35em12',
      srcCode: 'i1o35j4ec8ateckptjvayeay9r35em12',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665735',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
    {
      lessonId: '2665737',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '3',
      title: '如何登录',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/3/11/12c683366321494281dfd7360b63d5fb.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/6/19/53848faefb1a4dff8d4fe4e82f73d430.PNG',
        'http://res.iiiview.net/ugc/file/2020/6/19/0d6d10aaddc24b5fb6eeb1ad226de6a8.PNG',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: 'csiuv8ozzu9ado57u6vg7pocgtyv57hh',
      srcCode: 'csiuv8ozzu9ado57u6vg7pocgtyv57hh',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665737',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
    {
      lessonId: '2665739',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '4',
      title: '线下课如何使用',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/3/11/3b863b8b487d4b00890eb5900e86db83.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/3/11/2598c1ea7e1a4e6382cc6779f787c385.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/d75d329ff7c448fc83777df4a3bdf5d9.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/7d02f00f171d471fa26b61aad957fc7e.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/92d5c2e9d1574e9c88ef2c0d7d66c18b.PNG',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: 'pfuubgfnra0274c1xx51opm4jnsm3eu3',
      srcCode: 'pfuubgfnra0274c1xx51opm4jnsm3eu3',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665739',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
    {
      lessonId: '2665741',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '5',
      title: '直播课堂支持哪些类型',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/3/11/d2b31d03c6f3478cb6d4558fa4e127f4.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/6/19/11b8770a1ca64e8c954da5cc10a1a03e.PNG',
        'http://res.iiiview.net/ugc/file/2020/6/19/dd9e134cde3547079980fb5990d490df.PNG',
        'http://res.iiiview.net/ugc/file/2020/6/19/1e54f356868d4fb586c681296b650e2b.PNG',
        'http://res.iiiview.net/ugc/file/2020/6/19/bb6a1498742b4b6f94ef259491973e82.PNG',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: '4257ugwvrt5fx4l23lnr3fvvnq4qk56r',
      srcCode: '4257ugwvrt5fx4l23lnr3fvvnq4qk56r',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665741',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
    {
      lessonId: '2665729',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '6',
      title: '直播课堂课前功能',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/3/11/1e57c79f7df0444a828e3d91d124dbdc.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/6/19/740c60108eaa4c7b8594115dcb927ee2.PNG',
        'http://res.iiiview.net/ugc/file/2020/6/19/df2738303a6644d484d38cd332a4f29a.PNG',
        'http://res.iiiview.net/ugc/file/2020/6/19/6bd5302a8da64a5d8c16db60755b68ee.PNG',
        'http://res.iiiview.net/ugc/file/2020/6/19/f6cb71b61dff482ca0edaa154e655167.PNG',
        'http://res.iiiview.net/ugc/file/2020/8/20/5426a3af7120487d99384ab4a7120eea.jpg',
        'http://res.iiiview.net/ugc/file/2020/8/20/37ba656960fa4cc895b38e39e5149dac.jpg',
        'http://res.iiiview.net/ugc/file/2020/8/20/0bd336afe569485f8e9379868ab693ea.jpg',
        'http://res.iiiview.net/ugc/file/2020/8/20/297dbb757f4643448f8372451e6bdc16.jpg',
        'http://res.iiiview.net/ugc/file/2020/8/20/96fe4730d11f4e3d8dfd5799a90ecd30.jpg',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: 'mszcs7c4ilvv2naiga8ayg486lyeqn1q',
      srcCode: 'mszcs7c4ilvv2naiga8ayg486lyeqn1q',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665729',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
    {
      lessonId: '2665742',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '7',
      title: '直播课堂功能介绍',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/3/11/3aea789fe88a4fe9a6016daff3e09ee2.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/8/20/882313c6a17b48808a20142d573b093d.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/6b98fd4785a94e0da2307f957610c630.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/4c17ca8f5ec34f0a80911aa8b10342a9.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/34d4047e3428425089847840ad103fe4.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/11e66bcadbb54bf58b5f0850673815a4.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/efa38efe579949d6b6213072b43b1dfc.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/42f52a319193476a8e83c490f100cfe4.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/163add143cf64389bc475e21bf08dac0.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/fae67676fcc04f4080ac953f088c5538.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/4f339020553a4db888c7018daa26dac7.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/1a10cf465386468385b699eb6723cb10.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/18697b4ff2c04a1881f684db9405ec7c.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/b22d8c9d1f064244803f97ecd38db16b.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/21e9b6382b2a4f77829ba2b3b79cffd9.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/e387fb9de84c4a889eeaafa41d28a58b.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/8841c72d43774e0f9b67ade4dfc63c6f.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/ef50bcaa7586433b94643eecbb5d0a17.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/3437171df23d42efa9a6a3c5b30bc6ce.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/ef407c9f973e4ac4a6c8795399cc27fa.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/5f97e854fb8f4cd69a237b5780cfdc69.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/c7b815b5ffac48e887efacbd6816105b.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/5c0178c9d2a248fc88eaf1fe5af99ad6.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/e667cd462a8e4aeb8c1c16eeb6bf46dd.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/043e263823ed4dcb87a0d30e0eba4222.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/458725349fd54040994db677d5062746.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/35b06afa023648e7a7bbd4a7572606df.JPG',
        'http://res.iiiview.net/ugc/file/2020/8/20/f214d254d54c4b5890c0e44713a1a15c.JPG',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: 'pfeczq6keibmb7k9qrb2jejj0xj7gsjc',
      srcCode: 'pfeczq6keibmb7k9qrb2jejj0xj7gsjc',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665742',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
    {
      lessonId: '2665743',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '8',
      title: '如何查看班级信息',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/3/11/928317d8c8ad4b098e418087fd98156c.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/3/11/838537cd8976407b81241ca791e5a289.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/b4b8df4f5490474e8712b4fbcee2b830.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/1373738ac6ae46b08d4f1d5e8bdebd71.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/312bc1e373764596938d5c413ec29ef8.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/e9385564f88349faa6a9067f6c0e957f.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/15f215096e7049e98b5421ee6ecc6b5f.PNG',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: 'lr3yl51y17nkpwcczzrp5qjycsp0fjhw',
      srcCode: 'lr3yl51y17nkpwcczzrp5qjycsp0fjhw',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665743',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
    {
      lessonId: '2665730',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '9',
      title: '如何查看学校动态',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/3/11/3f4af26b10484d07a9d9bcfa409ebe44.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/3/11/f17fc2c3dc9549d58dc6987fbb2502ae.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/09b7043488f641628e55f9d730f56373.PNG',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: '9aj5xm85n8qaqqcouzk6ouuj66uc1lx6',
      srcCode: '9aj5xm85n8qaqqcouzk6ouuj66uc1lx6',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665730',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
    {
      lessonId: '2665731',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '10',
      title: '如何切换语言',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/3/11/c65a4f4471e04d158ffeb58fb63981ad.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/3/11/ac77f2c72b3441959d06272ecef7485e.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/71affb2675ce485e8123745ac90ca6a3.PNG',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: 'lqo3sx7c5sdj799290lyo7mczc8os0yr',
      srcCode: 'lqo3sx7c5sdj799290lyo7mczc8os0yr',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665731',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
    {
      lessonId: '2665732',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '11',
      title: '如何更换账号',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/3/11/62b69085064a434985967c3a8e16e875.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/3/11/d725c2566c7d465c91c8f93b07abeff0.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/04beac6f061b4c3e8a916a46de24c1b4.PNG',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: 'gj6dpy4iojwq3jfqwi0nd0wwspztrhaz',
      srcCode: 'gj6dpy4iojwq3jfqwi0nd0wwspztrhaz',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665732',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
    {
      lessonId: '2665734',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '12',
      title: '如何切换学科',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/3/11/7b94c8ea635a453c874ada13c30d732c.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/3/11/37b569d39776406ea390bac904e96a0f.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/4e9849daae3f43c08b8ab01319fb2e07.PNG',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: '43bdnl6tz5exo3vc6duwupesr4jnaiz8',
      srcCode: '43bdnl6tz5exo3vc6duwupesr4jnaiz8',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665734',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
    {
      lessonId: '2665736',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '13',
      title: '如何调试直播配置',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/3/11/91095163eac24bb58505727181ee7cfd.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/3/11/f87d9e0139fb43fbbf2c69b4f88dc00d.PNG',
        'http://res.iiiview.net/ugc/file/2020/3/11/24ec130a3cef4d218a5b995af75e2d28.PNG',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: '15uxrjingq6xkavutrugma5knkax0lm5',
      srcCode: '15uxrjingq6xkavutrugma5knkax0lm5',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665736',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
    {
      lessonId: '2665738',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '14',
      title: '如何查看直播课回放',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/6/19/c62b7c8993aa4f4ba5382ffa43b1546a.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/6/19/c925c36fbbeb48188e8fb6d79d6d9a05.PNG',
        'http://res.iiiview.net/ugc/file/2020/6/19/20ddb4de252b4ed195027b47d24232f3.PNG',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: 'q2sq8yw1395pjpeu98hta13uh41jnafg',
      srcCode: 'q2sq8yw1395pjpeu98hta13uh41jnafg',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665738',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
    {
      lessonId: '2665740',
      mediaId: '21019059',
      bookType: 'book',
      category: '1',
      categoryTitle: '使用帮助',
      number: '15',
      title: '管理角色如何巡课',
      snapshotUrl: 'http://res.iiiview.net/ugc/file/2020/6/19/45404487be0242a18d93e514fc57feef.png',
      photoUrls: [
        'http://res.iiiview.net/ugc/file/2020/6/19/dde2981a25404d848f5345aa1af4a389.PNG',
        'http://res.iiiview.net/ugc/file/2020/6/19/8023fe93ded9417aa437e62569ffaa00.PNG',
      ],
      config: '',
      dateCreated: '2020-08-20 16:36:50',
      timeInterval: '1500',
      lessonVersion: '1',
      hasPhoto: 'true',
      hasAudio: 'false',
      hasVideo: 'false',
      hasText: 'false',
      voiceAssess: 'none',
      pointRead: 'none',
      hasExam: 'false',
      code: 'j8db29bvsmzqe8cki75g9a634uvs2w0u',
      srcCode: 'j8db29bvsmzqe8cki75g9a634uvs2w0u',
      hasPointReadText: 'false',
      hasDubbing: 'false',
      contentId: '2665740',
      contentType: 'EduLesson',
      bookTitle: 'Windows(课堂版)老师使用帮助',
      chapterId: '483062',
      openType: 'open_1',
      hasGate: 'false',
      paidBookType: 'NationalGeographic',
      canShareOutside: 'true',
      hasLink: 'false',
      hasRelated: 'false',
    },
  ],
  startPos: '0',
  count: '15',
  total: '15',
};

export default function BaseInfo() {
  const contentStyle = {
    width: '600px',
    height: '337px',
  };
  const contentStyle1 = {
    display: 'inline-block',
    width: '600px',
    height: '337px',
    marginT: '20px 0 20px',
  };
  return (
    <div className="main-page-v1">
      <Tabs className="px-l" style={{ padding: '0 24px' }} defaultActiveKey="1">
        <TabPane tab="登录信息" key="1">
          <Card>
            <Login></Login>
            <Descriptions title="登录信息" bordered>
              <Descriptions.Item label="nickname">{userInfo.user.nickname}</Descriptions.Item>
              <Descriptions.Item label="username">{userInfo.user.username}</Descriptions.Item>
              <Descriptions.Item label="nicknameNote">
                {userInfo.user.nicknameNote}
              </Descriptions.Item>
              <Descriptions.Item label="Config Info" span={3} labelStyle={{ width: '150px' }}>
                <ReactJson src={userInfo} collapsed></ReactJson>
              </Descriptions.Item>
            </Descriptions>
          </Card>
        </TabPane>
        <TabPane tab="机构信息" key="2">
          <Card>
            <Descriptions title="机构信息" bordered>
              <Descriptions.Item label="title" span={3}>
                {institution.institution.title}
              </Descriptions.Item>
              <Descriptions.Item label="Config Info" span={3} labelStyle={{ width: '150px' }}>
                <ReactJson src={institution} collapsed></ReactJson>
              </Descriptions.Item>
            </Descriptions>
          </Card>
        </TabPane>
        <TabPane tab="启动信息" key="3">
          <Card>
            <Descriptions title="启动信息" bordered>
              <Descriptions.Item label="Config Info" span={3} labelStyle={{ width: '150px' }}>
                <ReactJson src={Startup} collapsed></ReactJson>
              </Descriptions.Item>
            </Descriptions>
          </Card>
        </TabPane>
        <TabPane tab="我的资料" key="4">
          <Card>
            <Descriptions title="我的资料" bordered>
              <Descriptions.Item label="Config Info" span={3} labelStyle={{ width: '150px' }}>
                <ReactJson src={MyProfile} collapsed></ReactJson>
              </Descriptions.Item>
            </Descriptions>
          </Card>
        </TabPane>
        <TabPane tab="帮助" key="5">
          <Card>
            <Descriptions title="帮助" bordered>
              <Descriptions.Item label="Config Info" span={3} labelStyle={{ width: '150px' }}>
                <ReactJson src={helps} collapsed></ReactJson>
              </Descriptions.Item>
            </Descriptions>
            {helps.lessons.map((item) => {
              return (
                <div style={contentStyle1} key={item.lessonId}>
                  <Carousel>
                    {item.photoUrls.map((url) => {
                      return (
                        <div key={url} style={contentStyle}>
                          <Image preview={false} width={600} height={337} src={url} />
                        </div>
                      );
                    })}
                  </Carousel>
                </div>
              );
            })}
          </Card>
        </TabPane>
      </Tabs>
    </div>
  );
}
